<?php
/**
 * Created by PhpStorm.
 * UsersF: Mloong
 * Date: 2019/3/2
 * Time: 17:18
 */

namespace app\sign\controller;


use app\common\controller\Status;
use app\sign\service\showService;

class Registered extends BaseController
{
    public function index()
    {
        return $this->fetch('/login/registered');
    }

    # 获取所以的状态
    public function getStatus()
    {
        $status = new Status();
        $data = $status->getAllStatus();
        return json($data);
    }

    public function getHasRegistered($page,$limit)
    {
        $service = new ShowService();
        $result = $service->getAllRegistered($page,$limit);
        return json($result);
    }

    public function findData()
    {

    }
}